package cn.git.demo.dao;



import cn.git.demo.pojo.Brand;
import cn.git.demo.pojo.Product;
import cn.git.demo.pojo.ProductQuery;

import java.util.List;

public interface ProductDao {

    public List<Product> selectProductListByQuery(ProductQuery productQuery);

    public Integer selectTotalCount(ProductQuery productQuery);

    public Product selectProductById(Long id);

    public void updateProductById(Product product);

    public List<Brand> selectBrandName();

    public List<Product> selectProductByIds(Long[] ids);
}
